
const userController = require('../controller/users')

module.exports =  (router) => {
  router.get('/user/login', userController.login)
  router.get('/user/chat',userController.chat)
  router.get('/user/setCookie',userController.setCookie)
  router.get('/user/sendMessage',userController.sendMessage)
  router.get('/user/getContent',userController.getContent)
  router.get('/user/getTime',userController.getTime)
}
